﻿using System;
using System.IO;
using System.Windows.Forms;
using CHIP8Emulator;
   
namespace CHIP8 {
    internal static class Program {
        private static readonly string FILE_LOGGER_NAME = Path.Combine(Environment.CurrentDirectory, @"log.txt");

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        /// 
        [STAThread]
        private static void Main() {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1(new FileLogger(FILE_LOGGER_NAME)));
        }
    }
}